class PropertyValue < ActiveRecord::Base
  belongs_to :item_property
  
  named_scope :property_values, lambda { |p| {:select=>'cid,pid,vid,property_name,name',:order=>p[:order],:conditions=>["cid=? and pid=?",p[:cid],p[:pid]]}}
end
